/*
 *  Copyright (c) 2023-2025 苏州棱镜七彩信息科技有限公司 (Suzhou PrismAurora Information Technology Co.,Ltd)
 *  sbom-generate is licensed under Mulan PSL v2.
 *  You can use this software according to the terms and conditions of the Mulan PSL v2.
 *  You may obtain a copy of Mulan PSL v2 at:
 *           http://license.coscl.org.cn/MulanPSL2
 *  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 *  See the Mulan PSL v2 for more details.
 * */
package com.ljqc.entity;

import lombok.Data;

import java.util.List;

@Data
public class CycloneDXDocument {
    private String serialNumber;
    private String timestamp;
    private List<Component> packages;
    private List<Dependency> dependencies;

    @Data
    public static class Component {
        private String id;
        private String name;
        private String version;
        private String externalRef;
        private String checksum;
        private String licenseConcluded;
    }

    @Data
    public static class Dependency {
        private String parentId;
        private List<String> names;
    }
}
